//
//  FirstViewController.m
//  Shelves
//
//  Created by mac on 2017/10/18.
//  Copyright © 2017年 上海LOL信息科技有限公司. All rights reserved.
//


#import "FirstViewController.h"
#import "NextViewController.h"

@interface FirstViewController ()

@end

@implementation FirstViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    NextViewController *next = [[NextViewController alloc]init];
//    next.url = [NSURL URLWithString:@"http://7xvsjr.com1.z0.glb.clouddn.com/index.js"];
//    next.url = [NSURL URLWithString:BUNDLE_URL];
    next.url = [NSURL URLWithString:@"http://weexjs.oss-cn-beijing.aliyuncs.com/helloWeex.js"];
    [self.navigationController pushViewController:next animated:YES];
    
}

    

@end
